// DriveNotes. Copyright (c) 2011, Andrei Senchuk. All rights reserved.
package net.taviscaron.drivenotes.shared.service;

import java.util.List;
import javax.jws.WebService;
import net.taviscaron.drivenotes.shared.exceptions.InvalidEntityException;
import net.taviscaron.drivenotes.shared.model.entity.Car;
import net.taviscaron.drivenotes.shared.model.entity.Service;

/**
 * Service service =)
 * @author Andrei Senchuk
 */
@WebService(targetNamespace="http://endpoint.service.server.drivenotes.taviscaron.net/")
public interface ServiceService {
    public List<Service> findServicesByCar(Car car);
    public void saveService(Service service) throws InvalidEntityException;
    public Service findById(Long id);
    public void removeServiceById(Long id);
}
